package com.example.juc.ThreadLocal;

public class ThreadLocaldemo {
    public static void main(String[] args) {
        ThreadLocal<String> threadLocal = new ThreadLocal<>();
        threadLocal.set("hello");
        System.out.println(threadLocal.get());

        threadLocal.remove();
        System.out.println(threadLocal.get());
    }


}
